<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/modules/master_machine/master_process.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('master__process_8c.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">master_process.c File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>module for recv&amp;send vision data  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;master_process.h&quot;</code><br />
<code>#include &quot;seasky_protocol.h&quot;</code><br />
<code>#include &quot;daemon.h&quot;</code><br />
<code>#include &quot;bsp_log.h&quot;</code><br />
<code>#include &quot;robot_def.h&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 id="header-func-members" class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a15c27cb9fdefbd03c7412875b2264089" id="r_a15c27cb9fdefbd03c7412875b2264089"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a15c27cb9fdefbd03c7412875b2264089">VisionSetFlag</a> (Enemy_Color_e enemy_color, Work_Mode_e work_mode, Bullet_Speed_e bullet_speed)</td></tr>
<tr class="memdesc:a15c27cb9fdefbd03c7412875b2264089"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置视觉发送标志位  <br /></td></tr>
<tr class="memitem:a5d73953facff68063ecc619222ac1b35" id="r_a5d73953facff68063ecc619222ac1b35"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a5d73953facff68063ecc619222ac1b35">VisionSetAltitude</a> (float yaw, float pitch, float roll)</td></tr>
<tr class="memdesc:a5d73953facff68063ecc619222ac1b35"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置发送数据的姿态部分  <br /></td></tr>
</table>
<a name="details" id="details"></a><h2 id="header-details" class="groupheader">Detailed Description</h2>
<div class="textblock"><p>module for recv&amp;send vision data </p>
<dl class="section author"><dt>Author</dt><dd>neozng </dd></dl>
<dl class="section version"><dt>Version</dt><dd>beta </dd></dl>
<dl class="section date"><dt>Date</dt><dd>2022-11-03 </dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000008">Todo</a></b></dt><dd>增加对串口调试助手协议的支持,包括vofa和serial debug </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>Copyright (c) 2022 </dd></dl>
</div><a name="doc-func-members" id="doc-func-members"></a><h2 id="header-doc-func-members" class="groupheader">Function Documentation</h2>
<a id="a5d73953facff68063ecc619222ac1b35" name="a5d73953facff68063ecc619222ac1b35"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d73953facff68063ecc619222ac1b35">&#9670;&#160;</a></span>VisionSetAltitude()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VisionSetAltitude </td>
          <td>(</td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>yaw</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>pitch</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float</td>          <td class="paramname"><span class="paramname"><em>roll</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置发送数据的姿态部分 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">yaw</td><td></td></tr>
    <tr><td class="paramname">pitch</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a15c27cb9fdefbd03c7412875b2264089" name="a15c27cb9fdefbd03c7412875b2264089"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15c27cb9fdefbd03c7412875b2264089">&#9670;&#160;</a></span>VisionSetFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VisionSetFlag </td>
          <td>(</td>
          <td class="paramtype">Enemy_Color_e</td>          <td class="paramname"><span class="paramname"><em>enemy_color</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Work_Mode_e</td>          <td class="paramname"><span class="paramname"><em>work_mode</em></span>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Bullet_Speed_e</td>          <td class="paramname"><span class="paramname"><em>bullet_speed</em></span>&#160;)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置视觉发送标志位 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">enemy_color</td><td></td></tr>
    <tr><td class="paramname">work_mode</td><td></td></tr>
    <tr><td class="paramname">bullet_speed</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="page-nav" class="page-nav-panel">
<div id="page-nav-resize-handle"></div>
<div id="page-nav-tree">
<div id="page-nav-contents">
</div><!-- page-nav-contents -->
</div><!-- page-nav-tree -->
</div><!-- page-nav -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_e05d7e2b1ecd646af5bb94391405f3b5.html">modules</a></li><li class="navelem"><a href="dir_ad33aed1b036122d66101dfa22d6ebf8.html">master_machine</a></li><li class="navelem"><a href="master__process_8c.html">master_process.c</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
